projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b7cb55
)
; * lisp/vc/diff-mode.el (diff--refine-hunk): Escape literal `+`.
author
Mattias Engdegård
<mattiase@acm.org>
Sun, 3 Mar 2024 14:55:30 +0000
(15:55 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Mon, 4 Mar 2024 13:13:26 +0000
(14:13 +0100)
lisp/vc/diff-mode.el
patch
|
blob
|
history
diff --git
a/lisp/vc/diff-mode.el
b/lisp/vc/diff-mode.el
index 99ac50c155a08b25b9e6d74eb4e97dc2e1b7e956..ac7d55c8a4683e2705e0a14fcbc9c7f54bf54b52 100644
(file)
--- a/
lisp/vc/diff-mode.el
+++ b/
lisp/vc/diff-mode.el
@@
-2353,7
+2353,7
@@
by `diff-refine-hunk'."
(match-end 0)
'diff-refine-removed))
(goto-char middle)
- (while (re-search-forward "^\\(?:+.*\n\\)+" end t)
+ (while (re-search-forward "^\\(?:
\\
+.*\n\\)+" end t)
(diff--refine-propertize (match-beginning 0)
(match-end 0)
'diff-refine-added))))))